package 链表;

/**
 * @Author: LDeng
 * @Date: 2021-02-20 11:47
 */
public class ListNode {
        int val;
        ListNode next;

        ListNode(int x) {
            val = x;
        }

    @Override
    public String toString() {
        return "ListNode{" +
                "val=" + val +
                ", next=" + next +
                '}';
    }
}
